home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ppmtoxpm.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppppppmmmmttttooooxxxxppppmmmm((((1111))))       XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22226666 JJJJuuuunnnneeee 1111999999990000))))       ppppppppmmmmttttooooxxxxppppmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ppmtoxpm - convert a portable pixmap into an X11 pixmap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppppppmmmmttttooooxxxxppppmmmm [----nnnnaaaammmmeeee _x_p_m_n_a_m_e] [_p_p_m_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           Reads a portable pixmap as input.  Produces X11 pixmap (XPM)
  16.           as output.
  17.  
  18.           If the program was compiled with an rgb database specified,
  19.           and a RGB value from the ppm input matches a RGB value from
  20.           the database, then the corresponding color name mnemonic is
  21.           printed in the XPM's colormap.  If no rgb database was
  22.           compiled in, or if the RGB values don't match, then the
  23.           color will be printed with the #RGB, #RRGGBB, #RRRGGGBBB, or
  24.           #RRRRGGGGBBBB hexadecimal format.
  25.  
  26.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  27.           ----nnnnaaaammmmeeee
  28.                Allows you to specify the prefix string which is
  29.                printed in the resulting XPM output.  If not specified,
  30.                will default to the filename (without extension) of the
  31.                ppmfile argument.  If ----nnnnaaaammmmeeee is not specified and no
  32.                ppmfile is specified (i.e. piped input), the prefix
  33.                string will default to the string "noname".
  34.  
  35.           All flags can be abbreviated to their shortest unique
  36.           prefix.
  37.  
  38.      EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  39.           To convert the file "dot" (found in
  40.           /usr/include/X11/bitmaps), from xbm to xpm one could specify
  41.  
  42.                xbmtopbm dot | ppmtoxpm -name dot
  43.  
  44.      BBBBUUUUGGGGSSSS
  45.           An option to match the closest (rather than exact) color
  46.           name mnemonic from the rgb text would be a desirable
  47.           enhancement.
  48.  
  49.           Truncation of the least significant bits of a RGB value may
  50.           result in nonexact matches when performing color name
  51.           mnemonic lookups.
  52.  
  53.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.           xpmtoppm(1), ppm(5)
  55.  
  56.      AAAAUUUUTTTTHHHHOOOORRRR
  57.           Copyright (C) 1990 by Mark W. Snitily.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.